package com.mapper;

import java.util.List;
import java.util.Map;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.baomidou.mybatisplus.plugins.pagination.Pagination;
import com.entity.WorkOrder;

public interface WorkOrderMapper extends BaseMapper<WorkOrder> {

	/**
	 * 获取工单列表
	 * @param params
	 * @return
	 */
	List<Map<String, Object>> getWorkList(Pagination page, Map<String, Object> params);
	
	/**
	 * 获取客诉详情
	 * @param id
	 * @return
	 */
	Map<String, Object> getComplaint(String id);
	
	/**
	 * 获取远程指导列表
	 * @param params
	 * @return
	 */
	List<Map<String, Object>> getComplaintGuidanceList(Map<String, Object> params);

}